<!DOCTYPE html>
<html ng-app="myApp">
<head lang="en">
  <meta charset="UTF-8">
  <title>我的购物车 - 一点田生态农场</title>
  <link rel="stylesheet" type="text/css" href="css/yd_index.css">
  <link rel="stylesheet" href="css/cart.css"/>
  <link rel="stylesheet" href="css/market.css"/>
  <script src="js/angular.js"></script>
  <script src="js/angular-route.js"></script>
</head>
<body ng-controller="myCtrl" >
<div id="header"><!--头部-->

</div>
<div>测试版本</div>
<div>测试版本</div>
<div>测试版本</div>
<div>测试版本</div>
<div>测试版本123456</div>
<div>测试版本123456789</div>
<div id="cart_content">
<div id="cart">
  <nav>
    <ul class="nav_list">
      <li><a href="yd_index.html">首页</a></li>
      <li>&gt;&gt;</li>
      <li><a href="market.html">查看购物车</a></li>
      <li>&gt;&gt;</li>
    </ul>
  </nav>
  <div id="step_box">
    <dl class="current">
      <dt>
        <span class="step_circle"></span>
      </dt>
      <dd>
        <p class="running">查看购物车</p>
      </dd>
    </dl>
    <dl class="current">
      <dt>
        <span class="step_circle"></span>
      </dt>
      <dd>
        <p>确认收货信息</p>
      </dd>
    </dl>
    <dl class="current">
      <dt>
        <span class="step_circle"></span>
      </dt>
      <dd>
        <p>在线付款</p>
      </dd>
    </dl>
    <dl class="lf normal">
      <dt>
        <span class="step_circle"></span>
      </dt>
      <dd>
      </dd>
    </dl>
  </div>
  <div class="cart_list">
    <h3 class="nbh lf">
      <i></i>
      <span >查看购物车</span>
    </h3>
    <table border="0" cellpadding="0" cellspacing="0" class="shopCart">
      <thead>
      <tr>
        <th colspan="6">
          <ul>
            <li style="width:63px">&nbsp;</li>
            <li style="width:290px">商品</li>
            <li style="width:169px">单价/规格</li>
            <li style="width:184px">购买数量</li>
            <li style="width:137px">小计</li>
            <li style="width:139px">操作</li>
          </ul>
        </th>
      </tr>
      <tr class="product_box">
      <th colspan="6">
        <input type="checkbox" id="product"  checked="checked" /><label for="product">商城商店</label>
      </th>

      </tr>
      </thead>
      <tbody id="tby" ng-init="obj.length">

      <tr class="is_data" ng-repeat="objs in obj" ng-show="obj.length!==0">
        <td style="width:64px;">
          <input type="checkbox" checked="checked" data-toggle="{{objs.did}}"/>
        </td>
        <td style="width:291px;">
          <dl class="cat_img">
            <dt>
              <a href="market.html#/main/{{objs.pid}}"><img ng-src="{{objs.ppic}}" style="width:60px;height:60px;" class="lf"/></a>
            </dt>
            <dd>
              <p>{{objs.pname}}</p>
              <p>350g / 份</p>
            </dd>
          </dl>
        </td>

        <td id="price">￥{{objs.price}}</td>
        <td class="add_count">
          <button ng-click="adddele($event)">+</button>
          <input type="text" class="count" value="{{objs.count}}" data-toggle="{{objs.did}}"/>
          <button ng-click="adddele($event)">-</button>
        </td>
        <td>￥<span class="sum_price">{{objs.price*objs.count}}</span></td>
        <td style="width:139px"><a href="" id="del" ng-click="funcDel($event)" data-toggle="{{objs.did}}">删除</a></td>
      </tr>
      <tr ng-show="obj.length==0">
        <td>您还没有选购商品，<a href="market.html">去商城购物</a></td>
      </tr>
      </tbody>
    </table>
    <div id="jiesuan" >
      <ul>
        <li>单次配送满258元，免配送费</li>
        <li>商品总价：￥<b id="product_sum">{{sum}}</b></li>
        <li>+运费：￥<b>15.00</b></li>
        <li>
          应付款：￥<b class="sum">{{sum+15}}</b>
        </li>
      </ul>
    </div>
  </div>
  <div class="shopCartBtn">
    <a href="check.html" class="goTo-btn">立即结算<i></i></a>
  </div>
</div>
</div>
<div id="footer"><!--底部-->

</div>
<!--QQ-->
<div id="SonlineBox" class="SonlineBox"><!--QQ聊天-->
  <div class="openTrigger">
  </div>
  <div id="contentBox" >
    <div class="closeTrigger" title="关闭">×</div>
    <div class="titleBox"><span>客服中心</span></div>
    <div class="listBox">
      <div class="QQList">
        <span style="font-size: 13px;">在线客服：</span>
        <div class="ico" style="float: right">
          <a target="_blank" href="http://shang.qq.com/open_webaio.html?sigt=402df733f56bd3c085f84e3c2da4546683fa6dad8e5d2e61d0dd70ac5539c2c36f6f073a3056830646f3b456cc7c81ef&sigu=f82317abcdd9cfaffbe9993a7d96bdd58fafe70772171904cfe40b0bbee649787ebe2f382da8f3af&tuin=836236132" ><img border="0" src="http://wpa.qq.com/pa?p=2:2256085989:42" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
        </div>
      </div>
    </div>
    <div class="tels">
      <p class="phone_title">客服热线：</p>
      <p>400-028-1719</p>
      <p class="phone_time">(全年09:00-19:00)</p>
    </div>
  </div>
</div>
<!--返回顶部-->
<div id="toTop">
  <a href="#"></a>
</div>
<script src="js/jquery-1.11.3.js"></script>
<script src="js/addcart.js"></script>
<script src="js/cart.js"></script>
</body>
</html>